package com.inxedu.os.edu.service.images.Impl.Images;
import com.inxedu.os.edu.dao.Images.WebsiteImagesMapper;
import com.inxedu.os.edu.pojo.Images.WebsiteImages;
import com.inxedu.os.edu.service.images.WebsiteImagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WebsiteImagesServiceImpl implements WebsiteImagesService {
    @Autowired
    WebsiteImagesMapper websiteImagesMapper;
    //insert
    @Override
    public void addImages(WebsiteImages websiteImages) {
        websiteImagesMapper.addImages(websiteImages);
    }
    //update
    @Override
    public int toUpdataImage(WebsiteImages edu) {
        return websiteImagesMapper.toUpdataImage(edu);
    }
}
